<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .div1{
            display: flex;
            width: 400px;
            height: 400px;
            background-color: pink;
        }
        .div1 .div2{
            display: none;
            width: 200px;
            height: 200px;
            background-color: red;
        }
    </style>
</head>
<body>
    <div class="div1">
        <div class="div2">佩奇</div>
    </div>
    
</div>
</body>
</html>